package engine.systems.render.camera
{
	import ash.core.Component;
	
	import flash.display.DisplayObject;
	import flash.geom.Rectangle;

	public class Camera extends Component
	{
		internal var _viewport:Rectangle = new Rectangle();
		
		public var bounds:Rectangle;
		
		public function Camera(bounds:Rectangle = null)
		{
			this.bounds = bounds;
		}
		
		override public function destroy():void
		{
			this.bounds		= null;
			this._viewport 	= null;
		}
		
		public function get viewport():Rectangle { return this._viewport; }
	}
}